package hy;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class NC {
    @RequestMapping("/test")
    public String t(){
        System.out.println("this is boot1....");
        return "show";
    }
    @RequestMapping("/data")
    @ResponseBody
    public String m(){
        return "this is boot1";
    }
}